package service;

import java.util.Set;

import entity.User;


public interface UserService {

	
	public User getByUserName(String userName);
	
	
	public Set<String> getRoles(String userName);
	
	
	public Set<String> getPermissions(String userName);


	public int addUser(User user);


	public User findByUserName(String username);


	public int update(User user);


	public User getUserByUserId(int editorId);


	public User getUserByIdNoPwd(int editorId);
}
